<template>
  <div class="app-container" v-loading="loading">
    <el-table
      :data="tableData"
      border
      
      style="width: 100%; margin-top: 10px"
    >
      <el-table-column label="任务编号" prop="workOrderCode" />
      <el-table-column label="任务名称" prop="workOrderCode" />
      <el-table-column label="执行人" prop="workOrderCode" />
      <el-table-column label="执行时间" prop="workOrderCode" />
    </el-table>
  </div>
</template>

<script setup name="Data">
const tableData = ref([]);
const props = defineProps(["datas"]);
const loading = ref(false);
const { datas } = toRefs(props);

watch(datas, (val) => {
  console.log(val, "=====openOrder");
});

onMounted(async () => {});
</script>
<style lang="scss" scoped></style>
